package com.itkim.judge.service.impl;

import java.util.List;

import com.itkim.judge.domain.YzJudgeRes;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.itkim.judge.mapper.YzJudgeMapper;
import com.itkim.judge.domain.YzJudge;
import com.itkim.judge.service.IYzJudgeService;
import com.ruoyi.common.core.text.Convert;

/**
 * 评价管理Service业务层处理
 * 
 * @author itkim
 * @date 2024-06-07
 */
@Service
public class YzJudgeServiceImpl implements IYzJudgeService 
{
    @Autowired
    private YzJudgeMapper yzJudgeMapper;

    /**
     * 查询评价管理
     * 
     * @param judgeId 评价管理主键
     * @return 评价管理
     */
    @Override
    public YzJudgeRes selectYzJudgeByJudgeId(Long judgeId)
    {
        return yzJudgeMapper.selectYzJudgeByJudgeId(judgeId);
    }

    /**
     * 查询评价管理列表
     * 
     * @param yzJudgeRes 评价管理
     * @return 评价管理
     */
    @Override
    public List<YzJudgeRes> selectYzJudgeList(YzJudgeRes yzJudgeRes)
    {
        return yzJudgeMapper.selectYzJudgeList(yzJudgeRes);
    }

}
